package cn.donting.jme.event.camera;

import cn.donting.jme.editor.scene.SceneCamera;
import cn.donting.jme.event.AbsEvent;
import cn.donting.jme.event.Event;
import cn.donting.jme.event.SelectEvent;

public class SelectCameraEvent extends AbsEvent implements SelectEvent<SceneCamera>, Event {
    private SceneCamera sceneCamera;

    public SelectCameraEvent(Object source, SceneCamera sceneCamera) {
        super(source);
        this.sceneCamera = sceneCamera;
    }

    @Override
    public SceneCamera getSelect() {
        return sceneCamera;
    }
}
